From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 14 Sep 2005 09:20:21 +0000 (+0000) Subject: Fix 64-bit build problem. Not allowed to movl between a X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16806^2~20 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fbfc015c2af5e9c004a0576b22eee59ddc3e8614;p=xen.git Fix 64-bit build problem. Not allowed to movl between a segment register and a memory location. Signed-off-by: Keir Fraser --- diff --git a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S index 2898cef5d7..621a6f9f5f 100644 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S @@ -751,10 +751,10 @@ ecrit: /**** END OF CRITICAL REGION ****/ # Hypervisor uses this for application faults while it executes. ENTRY(failsafe_callback) addq $0x10,%rsp /* skip rcx and r11 */ -1: movl (%rsp),%ds -2: movl 8(%rsp),%es -3: movl 16(%rsp),%fs -4: movl 24(%rsp),%gs +1: mov (%rsp),%ds +2: mov 8(%rsp),%es +3: mov 16(%rsp),%fs +4: mov 24(%rsp),%gs addq $0x20,%rsp /* skip the above selectors */ SAVE_ALL jmp error_exit